Q3PolyLine_GetSegmentAttributeSet
You can use theQ3PolyLine_GetSegmentAttributeSet
function to get the attribute set of a segment of a polyline.
TQ3Status Q3PolyLine_GetSegmentAttributeSet ( TQ3GeometryObject polyLine, unsigned long index, TQ3AttributeSet *attributeSet);
polyLine
- A polyline.
index
- An index into the
vertices
array of the specified polyline.attributeSet
- On exit, a pointer to an attribute set for the specified segment.
DESCRIPTION
TheQ3PolyLine_GetSegmentAttributeSet
function returns, in theattributeSet
parameter, the set of attributes for a segment of a polyline. The segment is defined by the two vertices having indicesindex
andindex
+1 in thevertices
array of the polyline specified by thepolyLine
parameter. The reference count of the set is incremented.